package com.solution.admin.product.entity;

import java.math.BigDecimal;
import java.util.List;

import com.solution.common.entity.BaseEntity;

/**
 * 商品规格关联实体类
 * @author xu_cc
 * @date 2017-08-31 23:46:57
 */
public class ProductSpecRelaEntity extends BaseEntity {
	private static final long serialVersionUID = -3926291988306842687L;
	
	
	/**
	 * 商品ID 
	 */
 	private Integer productId;
	
	/**
	 * 商品规格ID
	 */
 	private Integer specId;
	
	/**
	 * 规格名称 
	 */
	private String specName;
	
	/**
	 * 规格值
	 */
	private String specValue;
	
	/**
	 * 规格价格
	 */
	private BigDecimal specPrice;
	
	/**
	 * 排序 
	 */
 	private Integer sortNo;
	
	/**
	 * 修改人
	 */
	private String modifier;
	
	/**
	 * 商品规格属性（查询映射字段）
	 */
	private String productSpecListStr;
	
	/**
	 * 商品规格值-价格
	 */
	private List<ProductSpecRelaEntity> productSpecList;
	

	/**
	 * 商品ID 
	 */
 	public Integer getProductId() {
		return productId;
	}
	public void setProductId(Integer productId) {
		this.productId=productId;
	}

	/**
	 * 商品规格ID
	 */
 	public Integer getSpecId() {
		return specId;
	}
	public void setSpecId(Integer specId) {
		this.specId=specId;
	}

	/**
	 * 规格名称 
	 */
	public String getSpecName() {
		return specName;
	}
	public void setSpecName(String specName) {
		this.specName=specName;
	}

	/**
	 * 规格值
	 */
	public String getSpecValue() {
		return specValue;
	}
	public void setSpecValue(String specValue) {
		this.specValue=specValue;
	}

	/**
	 * 排序 
	 */
 	public Integer getSortNo() {
		return sortNo;
	}
	public void setSortNo(Integer sortNo) {
		this.sortNo=sortNo;
	}

	/**
	 * 修改人
	 */
	public String getModifier() {
		return modifier;
	}
	public void setModifier(String modifier) {
		this.modifier=modifier;
	}
	public String getProductSpecListStr() {
		return productSpecListStr;
	}
	public void setProductSpecListStr(String productSpecListStr) {
		this.productSpecListStr = productSpecListStr;
	}
	public List<ProductSpecRelaEntity> getProductSpecList() {
		return productSpecList;
	}
	public void setProductSpecList(List<ProductSpecRelaEntity> productSpecList) {
		this.productSpecList = productSpecList;
	}
	public BigDecimal getSpecPrice() {
		return specPrice;
	}
	public void setSpecPrice(BigDecimal specPrice) {
		this.specPrice = specPrice;
	}
}
